package cn.akwing.sms.service.Impl;

import cn.akwing.sms.mapper.AwardsMapper;
import cn.akwing.sms.pojo.Awards;
import cn.akwing.sms.service.AwardsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AwardsServiceImpl implements AwardsService {
    @Autowired
    private AwardsMapper awardsMapper;

    @Override
    public void insert(Awards awards) {
        awardsMapper.insert(awards);
    }

    @Override
    public List<Awards> selectAll() {
        return awardsMapper.selectAll();
    }
}
